package com.poe.mapperDao.write.cart;

import com.poe.entity.Cart;
import org.springframework.stereotype.Repository;

@Repository(value = "writeCartDao")
public interface WriteCartDao {
	/**
	 * 添加购物车商品
	 */
	void addProduct(Cart cart);

	/**
	 * 根据购物车ID删除商品
	 * @param cartId
	 */
	void deleteProduct(String cartId);
}
